module UniformesHelper

  def acciones_uniforme
    html=""
    if @uniforme.blank?
      html<<"<span class='link1'>
          #{boton 'Agregar',new_uniforme_path(:usuario_id=>@usuario), :imagen => 'agregar',:class => :colorbox}
      </span>"
    else
      html<<"<span class='link1'>
        #{boton 'Editar', edit_uniforme_path(@uniforme), :imagen => 'editar',:class=>:colorbox}
        <span style='padding-left: 5%'></span>
        #{boton_ajax_delete(uniforme_path(@uniforme),:text => "Borrar")}
        <br/>
      </span>"
    end
    html
  end
end

